﻿using ProtoBuf;

namespace Ayatta.Contract.Domain
{
    [ProtoContract]
    public class ProductPropValue:IEntity<int>
    {
        [ProtoMember(1)]
        public int Id { get; set; }

        [ProtoMember(2)]
        public int PropId { get; set; }

        [ProtoMember(3)]
        public int CategoryId { get; set; }

        [ProtoMember(4)]
        public string Name { get; set; }

        [ProtoMember(5)]
        public string NameAlias { get; set; }

        [ProtoMember(6)]
        public string PropName { get; set; }

        [ProtoMember(7)]
        public int SortOrder { get; set; }

        [ProtoMember(8)]
        public ProductProp ChildProp { get; set; }
    }
}